<form name="role_edit_form" ng-init="setFormScope(this)" novalidate style="width: 520px;">
    <table width="100%" class="mt10">
        <tbody>
        <tr>
            <td align="right" class="form-cell pt16" valign="top"><em class="c-red">*&nbsp;</em> 角色名称：</td>
            <td class="pt12">
                <input type="text" name="js_role_name" id="js_role_name" class="input-text mr10 w400"
                       ng-model="data.name" required>

                <p role="alert"
                   ng-show="(role_edit_form.$submitted || role_edit_form.js_role_name.$touched) && role_edit_form.js_role_name.$error.required"
                   class="error ng-hide c-red lh30">
                    请填写活动规则地址</p>
            </td>
        </tr>
        <tr>
            <td align="right" class="form-cell w150 pt16" valign="top">角色说明：</td>
            <td class="pt12">
                    <textarea type="text" name="js_role_desc" id="js_role_desc" class="mr10 w400" style="border: 1px solid #d9d9d9;"
                              ng-model="data.comments" rows="3"/>
            </td>
        </tr>
        </tbody>
    </table>
</form>